package com.jeomo.shiro.request;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author QBT
 */
public class LoginRequest implements Serializable {

    @NotBlank(message="登录组织不能为空")
    private String orgCode;

    @NotBlank(message="用户名不能为空")
    private String username;

    @NotBlank(message="密码不能为空")
    private String password;



    //************getter setter********************

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
